function OverStarRating(p, rating) {
        var i = 0;
        for (i = 1; i <= rating; i++) { // Star On
            document.getElementById("star-" + i).setAttribute("class", "rating-on");
        }
        for (i = rating + 1; i <= 5; i++) { // Star Off
            document.getElementById("star-" + i).setAttribute("class", "rating-off");
        }
        for (i = 1; i <= p; i++) { // Star Hover
            if (i <= 5 && i > 0) document.getElementById("star-" + i).setAttribute("class", "rating-hover");
        }
        document.getElementById('ctl00_cphMain_ctl00_ctl03_ctl00_ddlRating_Review').value = p;
    }

function OnChangeRate() {
        var _val = document.getElementById('ctl00_cphMain_ctl00_ctl03_ctl00_ddlRating_Review').value;
        var p = _val, rating = 4;
        var i = 0;
        for (i = 1; i <= rating; i++) { // Star On
            document.getElementById("star-" + i).setAttribute("class", "rating-on");
        }
        for (i = rating + 1; i <= 5; i++) { // Star Off
            document.getElementById("star-" + i).setAttribute("class", "rating-off");
        }
        for (i = 1; i <= p; i++) { // Star Hover
            if (i <= 5 && i > 0) document.getElementById("star-" + i).setAttribute("class", "rating-hover");
        }
    }
  